package com.foreknow.dao;

import com.foreknow.entity.RegistLevel;
import com.foreknow.entity.SettleCategory;

import java.util.List;

public interface SettleCategoryMapper {
    /**
     * 通过id删除
     * @param id
     * @return
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * 批量删除
     */
    Integer deleteSettleById(List<Integer> ids);

    /**
     * 添加
     * @param record
     * @return
     */
    int insert(SettleCategory record);

    int insertSelective(SettleCategory record);

    /**
     * 通过id查询用户
     * @param id
     * @return
     */
    SettleCategory selectByPrimaryKey(Integer id);

    /**
     * 查询
     * @param
     * @return
     */
    List<SettleCategory> quetyAll(SettleCategory settleCategory);

    int updateByPrimaryKeySelective(SettleCategory record);

    /**
     * 修改用户
     * @param record
     * @return
     */
    int updateByPrimaryKey(SettleCategory record);
}